package model02;

public class Test {
	public static void main(String[] args) {
		MayTinhBan pc = new MayTinhBan();
		LapTop laptop = new LapTop();
		DienThoai dtdd = new DienThoai();
		
		System.out.println("May tinh ban: \t");
		pc.nhapThongTin();
		
		System.out.println("Laptop: \t");
		laptop.nhapThongTin();
		
		System.out.println("Dien thoai: \t");
		dtdd.nhapThongTin();
		
		System.out.println("MAY TINH DE BAN: ");
		pc.xuatThongTin();
		
		System.out.println("LAPTOP: ");
		laptop.xuatThongTin();
		
		System.out.println("DIEN THOAI DI DONG: ");
		dtdd.xuatThongTin();
	}

}
